package com.example.zhuangao6xiangm.mvvmUtil;

import androidx.lifecycle.LiveData;

import com.example.mvvm.model.BaseModel;
import com.example.zhuangao6xiangm.API;
import com.example.zhuangao6xiangm.entity.JournalismTitle;
import com.example.zhuangao6xiangm.okhttp.ShopHttp;
import com.fhz.utilsfhz.ApiResponse;

import java.util.List;

public class MvvmModel extends BaseModel {
    public LiveData<ApiResponse<List<JournalismTitle.DataBean>>> getShop(){
        return ShopHttp.getShopHttp().getRetrofit().create(API.class).getShop();
    }

}
